package practice07;

public class Klass {
    private Integer number;

    public Klass(Integer number) {
        this.number = number;
    }
    public Klass() {

    }
    public Integer getNumber() {
        return number;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }

    @Override
    public String toString() {
        return "Klass{" +
                "number=" + number +
                '}';
    }

    public String getDisplayName() {
        return "Class "+number;
    }
}
